package cn.caojun.sys.mapper;

import cn.caojun.sys.domain.Dictionary;
import cn.caojun.basic.mapper.BaseMapper;
import cn.caojun.sys.domain.Dictionaryitem;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author caojun
 * @since 2023-05-09
 */
public interface DictionaryMapper extends BaseMapper<Dictionary> {

    List<Dictionary> getTree();

    List<Dictionaryitem> deleteChildrenById(Long parentId);
}
